import zh from './zh'
import en from './en'
import {createI18n} from 'vue-i18n'

let messages={
    zh,
    en
}

let i18n=createI18n({
    locale:localStorage.getItem('lang')||'zh',
    messages
})

export default i18n